package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(50)"`
}
type Good struct {
	gorm.Model
	Name    string `gorm:"type:varchar(50)"`
	Context string `gorm:"type:text"`
	Price   int    `gorm:"type:int"`
}
type Comment struct {
	gorm.Model
	Uid     int    `gorm:"type:int"`
	Content string `gorm:"type:text"`
}
